'''
from selenium import webdriver
import time
web = webdriver.Chrome()
web.get("http://www.taobao.com")
time.sleep(3)
web.quit()


from selenium import webdriver
import time
web = webdriver.Chrome()
web.get("https://login.taobao.com/member/login.jhtml?spm=a21bo.21814703.754894437.1.5af911d9otbfro&f=top&redirectURL=https%3A%2F%2Fwww.taobao.com%2F")

web.find_element_by_id('fm-login-id').send_keys('hu675522')
web.find_element_by_id('fm-login-password').send_keys('long675522')
time.sleep(3)
web.quit()


from selenium import webdriver
import time
web = webdriver.Chrome()
web.get("https://login.taobao.com/member/login.jhtml?spm=a21bo.21814703.754894437.1.5af911d9otbfro&f=top&redirectURL=https%3A%2F%2Fwww.taobao.com%2F")
web.find_element_by_partial_link_text("微博登录").click()
time.sleep(3)
web.quit()


from selenium import webdriver
import time
web = webdriver.Chrome()
web.get("https://login.taobao.com/member/login.jhtml?spm=a21bo.21814703.754894437.1.5af911d9otbfro&f=top&redirectURL=https%3A%2F%2Fwww.taobao.com%2F")
web.find_element_by_partial_link_text('支付宝登录').click()

time.sleep(3)
web.quit()


from selenium import webdriver
import time

web = webdriver.Chrome()
web.get("file:///J:/%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95/%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7/%E5%8E%8B%E7%BC%A9%E5%8C%85/UI%E8%87%AA%E5%8A%A8%E5%8C%96/UI%E8%87%AA%E5%8A%A8%E5%8C%96%E5%B7%A5%E5%85%B7/web%E8%87%AA%E5%8A%A8%E5%8C%96%E5%B7%A5%E5%85%B7%E9%9B%86%E5%90%88/pagetest/%E6%B3%A8%E5%86%8CA.html")
web.find_element_by_xpath('/html/body/div/fieldset/form/p[1]/input').send_keys('jiaosj')
web.find_element_by_xpath('//*[@placeholder="请输入电子邮箱"]').send_keys('asdasd@qq.com')

time.sleep(3)
web.quit()


from selenium import webdriver
import time

web = webdriver.Chrome()
web.get("file:///J:/%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95/%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7/%E5%8E%8B%E7%BC%A9%E5%8C%85/UI%E8%87%AA%E5%8A%A8%E5%8C%96/UI%E8%87%AA%E5%8A%A8%E5%8C%96%E5%B7%A5%E5%85%B7/web%E8%87%AA%E5%8A%A8%E5%8C%96%E5%B7%A5%E5%85%B7%E9%9B%86%E5%90%88/pagetest/%E6%B3%A8%E5%86%8CA.html")

#web.find_element_by_xpath('//p [@id="p1"]/input').send_keys('asdas')
#web.find_element_by_css_selector('#userA').send_keys('45526526')
web.find_element_by_css_selector('#userA').send_keys('45526526')
time.sleep(3)
web.quit()
'''


from selenium import webdriver
import time

from selenium.webdriver.common.by import By

web = webdriver.Chrome()
web.get("file:///J:/%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95/%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7/%E5%8E%8B%E7%BC%A9%E5%8C%85/UI%E8%87%AA%E5%8A%A8%E5%8C%96/UI%E8%87%AA%E5%8A%A8%E5%8C%96%E5%B7%A5%E5%85%B7/web%E8%87%AA%E5%8A%A8%E5%8C%96%E5%B7%A5%E5%85%B7%E9%9B%86%E5%90%88/pagetest/%E6%B3%A8%E5%86%8CA.html")

#web.find_element_by_xpath('//p [@id="p1"]/input').send_keys('asdas')
#web.find_element_by_css_selector('#userA').send_keys('45526526')
web.find_element(By.XPATH,'//input[@name="userA"]').send_keys('446465465')
time.sleep(3)
web.quit()